package com.quanyan.stadiumScheduler.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbGameMqMsgLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbGameMqMsgLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoIsNull() {
            addCriterion("game_msg_no is null");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoIsNotNull() {
            addCriterion("game_msg_no is not null");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoEqualTo(String value) {
            addCriterion("game_msg_no =", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoNotEqualTo(String value) {
            addCriterion("game_msg_no <>", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoGreaterThan(String value) {
            addCriterion("game_msg_no >", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoGreaterThanOrEqualTo(String value) {
            addCriterion("game_msg_no >=", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoLessThan(String value) {
            addCriterion("game_msg_no <", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoLessThanOrEqualTo(String value) {
            addCriterion("game_msg_no <=", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoLike(String value) {
            addCriterion("game_msg_no like", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoNotLike(String value) {
            addCriterion("game_msg_no not like", value, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoIn(List<String> values) {
            addCriterion("game_msg_no in", values, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoNotIn(List<String> values) {
            addCriterion("game_msg_no not in", values, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoBetween(String value1, String value2) {
            addCriterion("game_msg_no between", value1, value2, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameMsgNoNotBetween(String value1, String value2) {
            addCriterion("game_msg_no not between", value1, value2, "gameMsgNo");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIsNull() {
            addCriterion("game_event_id is null");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIsNotNull() {
            addCriterion("game_event_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameEventIdEqualTo(Integer value) {
            addCriterion("game_event_id =", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotEqualTo(Integer value) {
            addCriterion("game_event_id <>", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdGreaterThan(Integer value) {
            addCriterion("game_event_id >", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_event_id >=", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdLessThan(Integer value) {
            addCriterion("game_event_id <", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_event_id <=", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIn(List<Integer> values) {
            addCriterion("game_event_id in", values, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotIn(List<Integer> values) {
            addCriterion("game_event_id not in", values, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdBetween(Integer value1, Integer value2) {
            addCriterion("game_event_id between", value1, value2, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_event_id not between", value1, value2, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdIsNull() {
            addCriterion("game_ground_id is null");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdIsNotNull() {
            addCriterion("game_ground_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdEqualTo(Integer value) {
            addCriterion("game_ground_id =", value, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdNotEqualTo(Integer value) {
            addCriterion("game_ground_id <>", value, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdGreaterThan(Integer value) {
            addCriterion("game_ground_id >", value, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_ground_id >=", value, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdLessThan(Integer value) {
            addCriterion("game_ground_id <", value, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_ground_id <=", value, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdIn(List<Integer> values) {
            addCriterion("game_ground_id in", values, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdNotIn(List<Integer> values) {
            addCriterion("game_ground_id not in", values, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdBetween(Integer value1, Integer value2) {
            addCriterion("game_ground_id between", value1, value2, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameGroundIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_ground_id not between", value1, value2, "gameGroundId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdIsNull() {
            addCriterion("game_schedule_id is null");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdIsNotNull() {
            addCriterion("game_schedule_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdEqualTo(Integer value) {
            addCriterion("game_schedule_id =", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdNotEqualTo(Integer value) {
            addCriterion("game_schedule_id <>", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdGreaterThan(Integer value) {
            addCriterion("game_schedule_id >", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_schedule_id >=", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdLessThan(Integer value) {
            addCriterion("game_schedule_id <", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_schedule_id <=", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdIn(List<Integer> values) {
            addCriterion("game_schedule_id in", values, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdNotIn(List<Integer> values) {
            addCriterion("game_schedule_id not in", values, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdBetween(Integer value1, Integer value2) {
            addCriterion("game_schedule_id between", value1, value2, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_schedule_id not between", value1, value2, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andMsgTagIsNull() {
            addCriterion("msg_tag is null");
            return (Criteria) this;
        }

        public Criteria andMsgTagIsNotNull() {
            addCriterion("msg_tag is not null");
            return (Criteria) this;
        }

        public Criteria andMsgTagEqualTo(String value) {
            addCriterion("msg_tag =", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagNotEqualTo(String value) {
            addCriterion("msg_tag <>", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagGreaterThan(String value) {
            addCriterion("msg_tag >", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagGreaterThanOrEqualTo(String value) {
            addCriterion("msg_tag >=", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagLessThan(String value) {
            addCriterion("msg_tag <", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagLessThanOrEqualTo(String value) {
            addCriterion("msg_tag <=", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagLike(String value) {
            addCriterion("msg_tag like", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagNotLike(String value) {
            addCriterion("msg_tag not like", value, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagIn(List<String> values) {
            addCriterion("msg_tag in", values, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagNotIn(List<String> values) {
            addCriterion("msg_tag not in", values, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagBetween(String value1, String value2) {
            addCriterion("msg_tag between", value1, value2, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgTagNotBetween(String value1, String value2) {
            addCriterion("msg_tag not between", value1, value2, "msgTag");
            return (Criteria) this;
        }

        public Criteria andMsgNameIsNull() {
            addCriterion("msg_name is null");
            return (Criteria) this;
        }

        public Criteria andMsgNameIsNotNull() {
            addCriterion("msg_name is not null");
            return (Criteria) this;
        }

        public Criteria andMsgNameEqualTo(String value) {
            addCriterion("msg_name =", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameNotEqualTo(String value) {
            addCriterion("msg_name <>", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameGreaterThan(String value) {
            addCriterion("msg_name >", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameGreaterThanOrEqualTo(String value) {
            addCriterion("msg_name >=", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameLessThan(String value) {
            addCriterion("msg_name <", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameLessThanOrEqualTo(String value) {
            addCriterion("msg_name <=", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameLike(String value) {
            addCriterion("msg_name like", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameNotLike(String value) {
            addCriterion("msg_name not like", value, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameIn(List<String> values) {
            addCriterion("msg_name in", values, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameNotIn(List<String> values) {
            addCriterion("msg_name not in", values, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameBetween(String value1, String value2) {
            addCriterion("msg_name between", value1, value2, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgNameNotBetween(String value1, String value2) {
            addCriterion("msg_name not between", value1, value2, "msgName");
            return (Criteria) this;
        }

        public Criteria andMsgDescIsNull() {
            addCriterion("msg_desc is null");
            return (Criteria) this;
        }

        public Criteria andMsgDescIsNotNull() {
            addCriterion("msg_desc is not null");
            return (Criteria) this;
        }

        public Criteria andMsgDescEqualTo(String value) {
            addCriterion("msg_desc =", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescNotEqualTo(String value) {
            addCriterion("msg_desc <>", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescGreaterThan(String value) {
            addCriterion("msg_desc >", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescGreaterThanOrEqualTo(String value) {
            addCriterion("msg_desc >=", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescLessThan(String value) {
            addCriterion("msg_desc <", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescLessThanOrEqualTo(String value) {
            addCriterion("msg_desc <=", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescLike(String value) {
            addCriterion("msg_desc like", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescNotLike(String value) {
            addCriterion("msg_desc not like", value, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescIn(List<String> values) {
            addCriterion("msg_desc in", values, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescNotIn(List<String> values) {
            addCriterion("msg_desc not in", values, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescBetween(String value1, String value2) {
            addCriterion("msg_desc between", value1, value2, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgDescNotBetween(String value1, String value2) {
            addCriterion("msg_desc not between", value1, value2, "msgDesc");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeIsNull() {
            addCriterion("msg_send_time is null");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeIsNotNull() {
            addCriterion("msg_send_time is not null");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeEqualTo(Date value) {
            addCriterion("msg_send_time =", value, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeNotEqualTo(Date value) {
            addCriterion("msg_send_time <>", value, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeGreaterThan(Date value) {
            addCriterion("msg_send_time >", value, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("msg_send_time >=", value, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeLessThan(Date value) {
            addCriterion("msg_send_time <", value, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeLessThanOrEqualTo(Date value) {
            addCriterion("msg_send_time <=", value, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeIn(List<Date> values) {
            addCriterion("msg_send_time in", values, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeNotIn(List<Date> values) {
            addCriterion("msg_send_time not in", values, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeBetween(Date value1, Date value2) {
            addCriterion("msg_send_time between", value1, value2, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgSendTimeNotBetween(Date value1, Date value2) {
            addCriterion("msg_send_time not between", value1, value2, "msgSendTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeIsNull() {
            addCriterion("msg_consumer_time is null");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeIsNotNull() {
            addCriterion("msg_consumer_time is not null");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeEqualTo(Date value) {
            addCriterion("msg_consumer_time =", value, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeNotEqualTo(Date value) {
            addCriterion("msg_consumer_time <>", value, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeGreaterThan(Date value) {
            addCriterion("msg_consumer_time >", value, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("msg_consumer_time >=", value, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeLessThan(Date value) {
            addCriterion("msg_consumer_time <", value, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeLessThanOrEqualTo(Date value) {
            addCriterion("msg_consumer_time <=", value, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeIn(List<Date> values) {
            addCriterion("msg_consumer_time in", values, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeNotIn(List<Date> values) {
            addCriterion("msg_consumer_time not in", values, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeBetween(Date value1, Date value2) {
            addCriterion("msg_consumer_time between", value1, value2, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andMsgConsumerTimeNotBetween(Date value1, Date value2) {
            addCriterion("msg_consumer_time not between", value1, value2, "msgConsumerTime");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNull() {
            addCriterion("is_send is null");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNotNull() {
            addCriterion("is_send is not null");
            return (Criteria) this;
        }

        public Criteria andIsSendEqualTo(Byte value) {
            addCriterion("is_send =", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotEqualTo(Byte value) {
            addCriterion("is_send <>", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThan(Byte value) {
            addCriterion("is_send >", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_send >=", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendLessThan(Byte value) {
            addCriterion("is_send <", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendLessThanOrEqualTo(Byte value) {
            addCriterion("is_send <=", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendIn(List<Byte> values) {
            addCriterion("is_send in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotIn(List<Byte> values) {
            addCriterion("is_send not in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendBetween(Byte value1, Byte value2) {
            addCriterion("is_send between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotBetween(Byte value1, Byte value2) {
            addCriterion("is_send not between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsConsumerIsNull() {
            addCriterion("is_consumer is null");
            return (Criteria) this;
        }

        public Criteria andIsConsumerIsNotNull() {
            addCriterion("is_consumer is not null");
            return (Criteria) this;
        }

        public Criteria andIsConsumerEqualTo(Byte value) {
            addCriterion("is_consumer =", value, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerNotEqualTo(Byte value) {
            addCriterion("is_consumer <>", value, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerGreaterThan(Byte value) {
            addCriterion("is_consumer >", value, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_consumer >=", value, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerLessThan(Byte value) {
            addCriterion("is_consumer <", value, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerLessThanOrEqualTo(Byte value) {
            addCriterion("is_consumer <=", value, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerIn(List<Byte> values) {
            addCriterion("is_consumer in", values, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerNotIn(List<Byte> values) {
            addCriterion("is_consumer not in", values, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerBetween(Byte value1, Byte value2) {
            addCriterion("is_consumer between", value1, value2, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andIsConsumerNotBetween(Byte value1, Byte value2) {
            addCriterion("is_consumer not between", value1, value2, "isConsumer");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeIsNull() {
            addCriterion("msg_operate_type is null");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeIsNotNull() {
            addCriterion("msg_operate_type is not null");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeEqualTo(Byte value) {
            addCriterion("msg_operate_type =", value, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeNotEqualTo(Byte value) {
            addCriterion("msg_operate_type <>", value, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeGreaterThan(Byte value) {
            addCriterion("msg_operate_type >", value, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("msg_operate_type >=", value, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeLessThan(Byte value) {
            addCriterion("msg_operate_type <", value, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeLessThanOrEqualTo(Byte value) {
            addCriterion("msg_operate_type <=", value, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeIn(List<Byte> values) {
            addCriterion("msg_operate_type in", values, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeNotIn(List<Byte> values) {
            addCriterion("msg_operate_type not in", values, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeBetween(Byte value1, Byte value2) {
            addCriterion("msg_operate_type between", value1, value2, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andMsgOperateTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("msg_operate_type not between", value1, value2, "msgOperateType");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodIsNull() {
            addCriterion("notify_method is null");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodIsNotNull() {
            addCriterion("notify_method is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodEqualTo(String value) {
            addCriterion("notify_method =", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodNotEqualTo(String value) {
            addCriterion("notify_method <>", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodGreaterThan(String value) {
            addCriterion("notify_method >", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodGreaterThanOrEqualTo(String value) {
            addCriterion("notify_method >=", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodLessThan(String value) {
            addCriterion("notify_method <", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodLessThanOrEqualTo(String value) {
            addCriterion("notify_method <=", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodLike(String value) {
            addCriterion("notify_method like", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodNotLike(String value) {
            addCriterion("notify_method not like", value, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodIn(List<String> values) {
            addCriterion("notify_method in", values, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodNotIn(List<String> values) {
            addCriterion("notify_method not in", values, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodBetween(String value1, String value2) {
            addCriterion("notify_method between", value1, value2, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyMethodNotBetween(String value1, String value2) {
            addCriterion("notify_method not between", value1, value2, "notifyMethod");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeIsNull() {
            addCriterion("notify_operate_time is null");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeIsNotNull() {
            addCriterion("notify_operate_time is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeEqualTo(Date value) {
            addCriterion("notify_operate_time =", value, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeNotEqualTo(Date value) {
            addCriterion("notify_operate_time <>", value, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeGreaterThan(Date value) {
            addCriterion("notify_operate_time >", value, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("notify_operate_time >=", value, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeLessThan(Date value) {
            addCriterion("notify_operate_time <", value, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeLessThanOrEqualTo(Date value) {
            addCriterion("notify_operate_time <=", value, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeIn(List<Date> values) {
            addCriterion("notify_operate_time in", values, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeNotIn(List<Date> values) {
            addCriterion("notify_operate_time not in", values, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeBetween(Date value1, Date value2) {
            addCriterion("notify_operate_time between", value1, value2, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andNotifyOperateTimeNotBetween(Date value1, Date value2) {
            addCriterion("notify_operate_time not between", value1, value2, "notifyOperateTime");
            return (Criteria) this;
        }

        public Criteria andMsgScopeIsNull() {
            addCriterion("msg_scope is null");
            return (Criteria) this;
        }

        public Criteria andMsgScopeIsNotNull() {
            addCriterion("msg_scope is not null");
            return (Criteria) this;
        }

        public Criteria andMsgScopeEqualTo(Byte value) {
            addCriterion("msg_scope =", value, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeNotEqualTo(Byte value) {
            addCriterion("msg_scope <>", value, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeGreaterThan(Byte value) {
            addCriterion("msg_scope >", value, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeGreaterThanOrEqualTo(Byte value) {
            addCriterion("msg_scope >=", value, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeLessThan(Byte value) {
            addCriterion("msg_scope <", value, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeLessThanOrEqualTo(Byte value) {
            addCriterion("msg_scope <=", value, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeIn(List<Byte> values) {
            addCriterion("msg_scope in", values, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeNotIn(List<Byte> values) {
            addCriterion("msg_scope not in", values, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeBetween(Byte value1, Byte value2) {
            addCriterion("msg_scope between", value1, value2, "msgScope");
            return (Criteria) this;
        }

        public Criteria andMsgScopeNotBetween(Byte value1, Byte value2) {
            addCriterion("msg_scope not between", value1, value2, "msgScope");
            return (Criteria) this;
        }

        public Criteria andFinalStatusIsNull() {
            addCriterion("final_status is null");
            return (Criteria) this;
        }

        public Criteria andFinalStatusIsNotNull() {
            addCriterion("final_status is not null");
            return (Criteria) this;
        }

        public Criteria andFinalStatusEqualTo(Byte value) {
            addCriterion("final_status =", value, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusNotEqualTo(Byte value) {
            addCriterion("final_status <>", value, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusGreaterThan(Byte value) {
            addCriterion("final_status >", value, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("final_status >=", value, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusLessThan(Byte value) {
            addCriterion("final_status <", value, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusLessThanOrEqualTo(Byte value) {
            addCriterion("final_status <=", value, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusIn(List<Byte> values) {
            addCriterion("final_status in", values, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusNotIn(List<Byte> values) {
            addCriterion("final_status not in", values, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusBetween(Byte value1, Byte value2) {
            addCriterion("final_status between", value1, value2, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andFinalStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("final_status not between", value1, value2, "finalStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}